home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / djfonts.arc / DISPFONT.DOC next >
Text File  |  1989-10-12  |  15KB  |  386 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                  D I S P F O N T
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                           Print Soft Font Sample Sheets
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                                    Version 1.3
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                  Copyright 1987, 1988, 1989 Elfring Soft Fonts
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                                 TABLE OF CONTENTS
  46.  
  47.  
  48.  
  49.         INTRODUCTION.................................................  1
  50.  
  51.  
  52.  
  53.  
  54.  
  55.         OPERATION....................................................  1
  56.  
  57.  
  58.  
  59.  
  60.  
  61.         EXAMPLES.....................................................  3
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         VARYING THE SAMPLE TEXT......................................  4
  68.  
  69.  
  70.  
  71.  
  72.  
  73.         GENERAL INFORMATION..........................................  4
  74.  
  75.  
  76.  
  77.  
  78.  
  79.         LICENSE......................................................  5
  80.  
  81.  
  82.  
  83.  
  84.  
  85.         WARRANTY.....................................................  5
  86.  
  87.                               Display a Soft Font
  88.  
  89.  
  90.                                   INTRODUCTION
  91.         
  92.         Do you have problems deciding which soft font to use?  It's hard 
  93.         to choose a font without seeing an example of it.  What you need 
  94.         is a display sheet, showing what each of your soft fonts looks 
  95.         like.  This should show the font name and typeface, a sample 
  96.         alphabet, some representative text, and perhaps a symbol map.  Of 
  97.         course you might be able to do this with your word processor and 
  98.         a great deal of work.  OR you can use DISPFONT and turn these 
  99.         sheets out in no time.
  100.  
  101.         DISPFONT is a utility for the IBM PC or compatible computers and 
  102.         the HP LaserJet or compatible printers.  DISPFONT prints a sample 
  103.         sheet of any soft font.  The sample sheet contains four basic 
  104.         sections: header, alphabet, text, and symbol map.  The "header" 
  105.         displays the soft font file name, the name of the type face, and 
  106.         its style, point size, and orientation.  The alphabet section 
  107.         displays all the characters in the standard ASCII set.  The text 
  108.         section lets you see what the font looks like when printing sev-
  109.         eral lines with that font.  Finally, the symbol map shows each 
  110.         character in the font along with the letter of the alphabet or the 
  111.         decimal code required to select that character.
  112.  
  113.         DISPFONT requires an IBM or compatible computer, a minimum of 128K
  114.         of memory, and a parallel or serial port.  A LaserJet +, II, IID, or
  115.         IIP, compatible printer, or DeskJet that supports downloadable soft 
  116.         fonts is required. This package is ASP shareware. See REGISTER.DOC.
  117.  
  118.  
  119.                                     OPERATION
  120.         
  121.         Your printer should be running and on-line before starting 
  122.         DISPFONT.  To run DISPFONT, simply type in the program name, the 
  123.         name of the soft font to display, and one of several options.  
  124.         DISPFONT assumes you want to use printer port LPT1, unless you 
  125.         tell it otherwise.  The basic command structure of DISPFONT is:
  126.  
  127.         dispfont fontname [printer -s -a -#]
  128.         
  129.         The "fontname" is the name of the soft font file to print a sam-
  130.         ple of.  Everything between the "[" and "]" characters is option-
  131.         al.  Typical soft font file names follow the form:
  132.  
  133.         FFPPPSPN.USO
  134.         ├┘└┬┘│     └─ font orientation (P/L)
  135.         │  │ └─ font style (R/B/L/I)
  136.         │  └─ point size (tenths of a point)
  137.         └─ type face
  138.  
  139.         Example font names include:
  140.  
  141.         tr100rpn.usp  (Times-Roman, 10 point, regular, portrait)
  142.         tr240bpn.usl  (Times-Roman, 24 point, bold, landscape)
  143.         he060ipn.usp  (Helvetica, 6 point, italic, portrait)
  144.  
  145.                                    1
  146.  
  147.                               Display a Soft Font
  148.  
  149.  
  150.         The optional "printer" argument lets you select a printer port to 
  151.         send the sample sheet to.  DISPFONT recognizes the standard three 
  152.         parallel printer ports: LPT1, LPT2, & LPT3. If no printer port is 
  153.         included on the command line DISPFONT defaults to LPT1. The serial 
  154.         printer ports, (COM1 or COM2), are NO LONGER supported!
  155.  
  156.         The optional "-s" argument is used to suppress the printing of a 
  157.         symbol table.  If the "-s" option is NOT used you can use the "-a" 
  158.         option to select an alphabetic symbol map, instead of a decimal one.
  159.         The line spacing the program uses can now also be controlled using 
  160.         the "-#" option. Replace the "#" with any digits that specify how 
  161.         many 48ths of an inch you want to move on each carriage return. Thus 
  162.         "-24" sets the line spacing to 2 lines per inch, "-8" gives 6 lines
  163.         per inch. When no symbol table is printed you have more room for your 
  164.         customized text.  (See the section on Varying The Sample Text for an 
  165.         explanation of this feature.)
  166.  
  167.         A typical sample font sheet would look as follows:
  168.  
  169.         ┌──────────────────────────────────────────────────────────────┐
  170.         │                                                              │
  171.         │   File: ro300rpn.usp, Roman-Times: 30 pt, portrait           │
  172.         │                                                              │
  173.         │   abcdefghijklmnopqrstuvwxyz |[]{};:`"                       │
  174.         │   ABCDEFGHIJKLMNOPQRSTUVWXYZ                                 │
  175.         │   0123456789 `~!@#$%^&*()-_=+\,.<>?/                         │
  176.         │                                                              │
  177.         │   This is sample text that you can change.                   │
  178.         │   Edit this file with any ASCII text editor,                 │
  179.         │   and your text will be printed.                             │
  180.         │                                                              │
  181.         │   33=!  34="  35=#  36=$ 37=% 38=& 39=' 40=( 41=)            │
  182.         │   42=*  43=+  44=,  45=- 46=. 46=/ 48=0 49=1 50=2            │
  183.         │   51=3  52=4  53=5  54=6 55=7 56=8 57=9 58=: 59=;            │
  184.         │   60=<  61==  62=>  63=? 64=@ 65=A 66=B 67=C 68=D            │
  185.         │                         .                                    │
  186.         │                         .                                    │
  187.         │   123={ 124=| 125=} 126=~                                    │
  188.         │                                                              │
  189.         └──────────────────────────────────────────────────────────────┘
  190.  
  191.         DISPFONT automatically adapts itself to the font you are 
  192.         printing.  It will adjust printer orientation and line spacing 
  193.         based on the characteristics of that font.  While DISPFONT can 
  194.         handle fonts of any size up to 72 points, it should be noted that 
  195.         the symbol map will be hard to read when the font point size is 
  196.         greater than 40 - 50 points.
  197.  
  198.         If you forget how to use DISPFONT you can always get help by 
  199.         typing the program name with no arguments.  For example, typing 
  200.         "dispfont" followed by a carriage return would display the fol-
  201.         lowing:
  202.  
  203.  
  204.  
  205.                                    2
  206.  
  207.                               Display a Soft Font
  208.  
  209.  
  210.         ┌──────────────────────────────────────────────────────────────┐
  211.         │Print sample sheet of a soft font, Version 1.3,               │
  212.         │Copyright 1987 by Gary Elfring                                │
  213.         │                                                              │
  214.         │Use --> dispfont softfont [printer -s -a -#]                  │
  215.         │                                                              │
  216.         │where,   softfont is the file name of the soft font you want  │
  217.         │         to print a sample sheet of                           │
  218.         │         [printer] refers to an optional printer port         │
  219.         │                   (LPT1 default)                             │
  220.         │         [-a] is the optional use alphabet in map             │
  221.         │         [-s] is the optional stop symbol map flag            │
  222.         │         [-#] is the optional set line spacing in 48ths       │
  223.         │                                                              │
  224.         │dispfont tr240rpn.usp         --> prints sample of 24 point   │
  225.         │                                  Times-Roman (LPT1)          │
  226.         │dispfont sc100lpn.usp -15     --> prints a sample of 10 point │
  227.         │                                  Script at 15/48 line spac.  │
  228.         │dispfont ce200bpn.usp -s      --> prints sample of 20 point   │
  229.         │                                  Century bold (LPT1) with no │
  230.         │                                  symbol map                  │
  231.         │dispfont he100ipn.usl lpt2 -s --> prints sample of 10 point   │
  232.         │                                  Helvetica via LPT2 with no  │
  233.         │                                  symbol map                  │
  234.         │                                                              │
  235.         └──────────────────────────────────────────────────────────────┘
  236.  
  237.  
  238.                                     EXAMPLES
  239.         
  240.         Some examples on how to use DISPFONT would probably be of help 
  241.         now.  To print a sample sheet of an Olde English, 20 point font 
  242.         via LPT1 you would type:
  243.  
  244.         dispfont od200rpn.usp
  245.  
  246.         To send the same font out through LPT2, instead of the default 
  247.         LPT1, enter:
  248.  
  249.         dispfont od200rpn.usp lpt2
  250.  
  251.         To print a sample sheet of a Helvetica, 36 point bold landscape 
  252.         font without the symbol map (assuming you have a LaserJet II) 
  253.         type:
  254.  
  255.         dispfont hv360bpn.usl -s
  256.  
  257.         To print a sample of a Times-Roman 18 point font, showing the
  258.         alphabet in the symbol map instead of the default Alt key codes:
  259.  
  260.         dispfont tr180rpn.usp -a
  261.  
  262.         Note that you CAN NOT combine the -a and the -s options since that
  263.         would have no meaning! To set the line spacing you use the "-#" 
  264.  
  265.                                    3
  266.  
  267.                               Display a Soft Font
  268.  
  269.         option. The number passed, (which must be less than 49), is the number
  270.         of 48ths of an inch to move on each carriage return. Thus 24 gives 
  271.         24/48 ths, or 1/2 inch (2 lines per inch).  For example, to set 8 
  272.         lines per inch type:
  273.  
  274.         dispfont uv100bpn.usp -6
  275.  
  276.  
  277.                              VARYING THE SAMPLE TEXT
  278.         
  279.         DISPFONT lets you vary the sample alphabet and text that is 
  280.         printed on each page.  This gives you the ability to customize 
  281.         these sample sheets in almost any manner.
  282.  
  283.         How do you change this text?  When the DISPFONT program runs, it 
  284.         assumes the text to be displayed on a sample sheet will be coming 
  285.         from a disk file named DISPFONT.DAT.  If this file is not found, 
  286.         DISPFONT prints a default display.  If DISPFONT.DAT exists all 
  287.         text from it is sent to the printer in place of the default dis-
  288.         play.  Note that the program automatically selects the soft font 
  289.         before sending your text.
  290.  
  291.         DISPFONT comes with a sample DISPFONT.DAT file for you to examine 
  292.         and modify.  This is a standard ASCII text file and can be modi-
  293.         fied with most word processors or text editors.  Note that the 
  294.         file must be saved as an ASCII file after being modified.
  295.  
  296.         To modify the file, first plan what you would like your sample 
  297.         sheets to say.  A listing of the full font alphabet followed by 
  298.         some sample text is usually best.  Use your word processor to 
  299.         modify the text and save the result in ASCII format.  To check 
  300.         the format you can use the DOS TYPE command.  Just enter:
  301.  
  302.         type dispfont.dat
  303.  
  304.         You should see a complete listing of the text you just entered 
  305.         with no special or "funny" characters on your PC screen.  If this 
  306.         is not the case the file has probably not been saved in ASCII.  
  307.         (As a last resort you can use the EDLIN program supplied with DOS 
  308.         to edit the file.  This guarantees you will have an ASCII file.)
  309.  
  310.         DISPFONT expects to find the sample text file, DISPFONT.DAT, in 
  311.         the current directory.  If you keep the DISPFONT utility in a 
  312.         tools subdirectory, accessed by the environment path, you will 
  313.         need to keep a copy of the ".DAT" file in your current working 
  314.         subdirectory.
  315.  
  316.  
  317.                                GENERAL INFORMATION
  318.         
  319.         DISPFONT operates by first examining the soft font to be printed.  
  320.         It uses information from the soft font header to determine print-
  321.         er orientation and line spacing.  DISPFONT next downloads the 
  322.         soft font in question to your laser printer as a temporary font, 
  323.         ID #757.  It then prints a sample sheet switching between your 
  324.         printer's internal Courier font and the soft font.
  325.                                    4
  326.  
  327.                               Display a Soft Font
  328.  
  329.         In the process, DISPFONT resets your printer.  This deletes all 
  330.         temporary soft fonts there and deselects any other special fea-
  331.         tures you have enabled.  In addition, DISPFONT downloads the soft 
  332.         font, (in the temporary mode), as ID 757.  It is possible, (al-
  333.         though unlikely), that this will overlay a soft font already 
  334.         there with the same ID.  If this happens that soft font will be 
  335.         deleted, even though it was a "permanent" font!  Finally, 
  336.         DISPFONT sends a second reset to the printer to remove the soft 
  337.         font it just downloaded and the margins & line spacing it set.
  338.  
  339.         DISPFONT understands the standard 25 typefaces assigned by HP, 
  340.         (faces 0 through 24), and uses this information to print the 
  341.         typeface name on the header line of each sample sheet.  If an 
  342.         unknown typeface number is incorporated in a font DISPFONT will 
  343.         extract the display font name, (the name shown on a LaserJet II 
  344.         font print out), from that font and show that on the header line.  
  345.         The font weight is also examined and used to determine whether a 
  346.         font is light, normal, or bold.  Note that a number of older 
  347.         fonts (Bitstream's in particular) do not have a correct display 
  348.         font name.
  349.  
  350.         The display text is arranged such that most fonts up to 60 points 
  351.         in size can be displayed.  DISPFONT adjusts the symbol map auto-
  352.         matically based on the number of characters in a font.
  353.  
  354.  
  355.                                      LICENSE
  356.         
  357.         This program is ASP shareware. See the accompanying disk file 
  358.         REGISTER.DOC for more details. Do not separate the files in this 
  359.         package.
  360.         
  361.         
  362.         
  363.  
  364.          
  365.                                     WARRANTY
  366.         
  367.         None!
  368.         
  369.         
  370.         
  371.         
  372.         
  373.         
  374.         
  375.         
  376.  
  377.         
  378.         
  379.         
  380.         
  381.         
  382.         
  383.         
  384.  
  385.                                    5
  386.